package br.com.usp.shared;

 

import com.google.gwt.user.client.rpc.IsSerializable;

public class Task extends FlowObjectsProcessDTO implements IsSerializable{ 

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public Task ()
	{
		setTipo("Task");
	}
	public Task(BMMDTO bmm)
    {
		    this();
	    	setId(bmm.getId());
	    	setDescricao(bmm.getDescricao());
	    	setName(bmm.getDescricao());
	    	setRepresentacao(bmm.getRepresentacao());
	    	setLeft(bmm.getLeft());
	    	setTop(bmm.getTop());
	    	setTipo(bmm.getTipo());
	}
	
	public String getTipo()
	{
		return "Task";
	}
	
}
